#include<stdio.h>

 int main()
  {
      int i;
     long data[6] = {12,90,7,453,23,63};
      bubble_a(data,6);
      for(i=0;i<6;i++)
      {
          printf("%d\n",*(data+i));
      }
      return 0;
  }
void bubble_a(long *data,long count)
  {
       long i,last,t;
       for(last = count-1;last>0;last--)
       {
           for(i = 0;i<last;i++)
           {
              if(*(data+i+1)<*(data+i))
              {
                  t=*(data+i+1);
                  *(data+i+1)=*(data+i);
                  *(data+i)=t;
              }
          }
      }
  }

